import request from '@/utils/request';
export async function query() {
  return request('/api/users');
}
export async function queryCurrent() {
  return request('/api/getAuthInfo', {
    method: 'GET',
  });
}
export async function updatePassword(params) {
  return request('/api/user/modifyPassword', {
    method: 'PUT',
    data: { ...params },
  });
}

export async function queryNotices() {
  return request('/api/notices');
}
